package com.yangaobo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 杨奥博
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClubProgress implements Serializable {
    private Long id;
    private Integer idx;
    private Long fkClubId;
    private Long fkRoomId;
    private Long fkManagerId;
    private Long fkAssistantId;
    private Long fkTeacherId;
    private Long fkCourseId;
    private LocalDateTime startTime;
    private LocalDateTime expectedEndTime;
    private LocalDateTime endTime;
    private String info;
    private Long version;
    private Integer deleted;
    private LocalDateTime created;
    private LocalDateTime updated;

    /** 每条班级进度记录对应 1 条班级记录 */
    private Club club;
    /** 每条班级进度记录对应 1 条房间记录 */
    private Room room;
    /** 每条班级进度记录对应 1 条员工（班主任）记录 */
    private Emp manager;
    /** 每条班级进度记录对应 1 条员工（助理老师）记录 */
    private Emp assistant;
    /** 每条班级进度记录对应 1 条员工（主讲老师）记录 */
    private Emp teacher;
    /** 每条班级进度记录对应 1 条课程记录 */
    private Course course;
}
